package com.ejuornal.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ejuornal.bean.vo.EUserPeriodical;
import com.ejuornal.dao.EditorVoDao;

@Component("editorVoService")
public class EditorVoServiceImpl implements com.ejuornal.service.EditorVoService {
	private EditorVoDao editorVoDao;
	@Override
	public List<EUserPeriodical> findByEditorChiefId(int editorChiefId) {
		return editorVoDao.findByEditorChiefId(editorChiefId);
	}

	@Override
	public EUserPeriodical findByEditorId(int editorId) {
		// TODO Auto-generated method stub
		return null;
	}
	

	@Override
	public List<EUserPeriodical> findByPeriodicalId(int periodicalId) {
		// TODO Auto-generated method stub
		return editorVoDao.findByPeriodicalId(periodicalId);
	}


	public EditorVoDao getEditorVoDao() {
		return editorVoDao;
	}
	@Resource(name="editorVoDao")
	public void setEditorVoDao(EditorVoDao editorVoDao) {
		this.editorVoDao = editorVoDao;
	}

	
	

}
